package router

import (
	"api-gateway/handler/service"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {
	r := gin.Default()
	r.POST("/publishVideo", service.PublishVideo)
	r.POST("/checkVideo", service.CheckVideo)
	r.POST("/ossUploadFile", service.OssUploadFile)
	return r
}
